package org.blogwu.learn.temp.atomic.atomicLong;

import java.util.concurrent.atomic.AtomicLong;

public class Main {
    public static void main(String[] args) {
        AtomicLong atomicLong = new AtomicLong();
        System.out.println(atomicLong.getAndIncrement());
        System.out.println(atomicLong.intValue());
    }
}
